import os
import sys

print 'starting..'
print 'server is up'
for index in range(int(sys.argv[1])):
	os.system('twitClient wilf' +str(index) + ' 127.0.0.1 ' + sys.argv[2]+' &') 
	#print 'client: ' +str(index)+ ' is up.'
print 'fin'